package com.solarroast.mirrorarray.gui.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;

import javax.swing.DefaultListModel;
import javax.swing.JList;

import com.solarroast.mirrorarray.beans.MAIBean;
import com.solarroast.mirrorarray.components.MirrorArray;
import com.solarroast.mirrorarray.components.MirrorArraySelection;

public class ActivateButtonListener implements ActionListener {
	private MirrorArray mArray;
	
	public ActivateButtonListener(MirrorArray mArray) {
		this.mArray = mArray;
	}

	public void actionPerformed(ActionEvent arg0) {
		// TODO Auto-generated method stub
		mArray.setActiveMAIs(true);
	}
}
